home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVRECG
/
IRCDSK.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
12KB
|
514 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int baseDialogId ;
extern int MJ_BASEOBJ ;
extern int menubarId ;
extern int menuId ;
extern int mItemId[2] ;
extern int SDKmenuId ;
extern int SDKmItemId[3] ;
extern int aboutFunc() ;
extern int quitFunc() ;
extern int fileMenuId ;
extern int fileMItemId[13] ;
extern int selectFunc0() ;
extern int selectFunc1() ;
extern int selectFunc2() ;
extern int selectFunc3() ;
extern int selectFunc4() ;
extern int selectFunc5() ;
extern int selectFunc6() ;
extern int selectFunc7() ;
extern int selectFunc8() ;
extern int quitIconId ;
extern int wakuDialogId ;
extern int wakuDialogId2 ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIRCDSK = { "MmiInit", 26, 0 } ;
/* baseDialogId */
static MMIPACKET d001 = { &baseDialogId,
&MJ_BASEOBJ,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
0, 0, 639, 479,15, 6, 8,
MS_NONEL40,
NULL, 0, 0
} ;
/* menubarId */
static MMIPACKET d002 = { &menubarId,
&baseDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d002d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
0, 0, 639, 19, 0, 7, 0,
MS_NONEL40,
NULL, 0, 0
} ;
/* menuId */
static MMIPACKET d003 = { &menuId,
&menubarId,
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d003d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40 | MS_HORIL40,
0, 0, 490, 19, 0, 7, 0,
MS_NONEL40,
NULL, 0
} ;
/* mItemId[0] */
static MMIPACKET d004 = { &mItemId[0],
&menuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d004d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
0, 0, 105, 19, 8, 8,15,
MS_PANELL40,
0,
0x0000, -1,
" élénéuéqédéb",
1, 12, 12,
MS_BOLDL40,
0, 0,
0
} ;
/* SDKmenuId */
static MMIPACKET d005 = { &SDKmenuId,
&mItemId[0],
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d005d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
0, 39, 108, 147, 8,15, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* SDKmItemId[0] */
static MMIPACKET d006 = { &SDKmItemId[0],
&SDKmenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d006d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
2, 45, 104, 64, 8,15, 8,
MS_NONEL40,
aboutFunc,
0x0041, -1,
"éáé╬éñé╞ ÑÑÑ ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* SDKmItemId[1] */
static MMIPACKET d007 = { &SDKmItemId[1],
&SDKmenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d007d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
10, 72, 101, 92, 8,15, 8,
MS_NONEL40,
0,
0x0000, -1,
NULL,
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* SDKmItemId[2] */
static MMIPACKET d008 = { &SDKmItemId[2],
&SDKmenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d008d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
6, 116, 105, 136, 8,15, 8,
MS_NONEL40,
quitFunc,
0x0051, -1,
"ÅI ù╣ ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* mItemId[1] */
static MMIPACKET d009 = { &mItemId[1],
&menuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d009d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
106, 0, 195, 19, 8, 1,15,
MS_PANELL40,
0,
0x0000, -1,
"âtâ@âCâï ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMenuId */
static MMIPACKET d010 = { &fileMenuId,
&mItemId[1],
&MJ_MENUL40,
OFFSET(MENUL40),
MS_NONE
} ;
static MENUL40 d010d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SKEYL40 | MS_CHECKL40,
112, 38, 286, 357, 8,15, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0
} ;
/* fileMItemId[0] */
static MMIPACKET d011 = { &fileMItemId[0],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d011d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
114, 43, 278, 62, 8,15, 8,
MS_NONEL40,
selectFunc0,
0x004c, -1,
"ô«ëµâtâ@âCâïû╝",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[1] */
static MMIPACKET d012 = { &fileMItemId[1],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d012d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
115, 65, 257, 84, 8,15, 8,
MS_NONEL40,
0,
0x0000, -1,
NULL,
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[2] */
static MMIPACKET d013 = { &fileMItemId[2],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d013d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
114, 89, 280, 108, 8,15, 8,
MS_NONEL40,
selectFunc1,
0x0000, -1,
"î┤ëµâfâBâîâNâgâèé╠ÄwÆΦ",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[3] */
static MMIPACKET d014 = { &fileMItemId[3],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d014d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
117, 115, 278, 134, 8,15, 8,
MS_NONEL40,
selectFunc2,
0x0000, -1,
"î┤ëµâtâ@âCâïé╠ôoÿ^",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[4] */
static MMIPACKET d015 = { &fileMItemId[4],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d015d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
115, 139, 279, 158, 8,15, 8,
MS_NONEL40,
selectFunc3,
0x0000, -1,
"ârâfâIôⁿù═",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[5] */
static MMIPACKET d016 = { &fileMItemId[5],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d016d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
115, 161, 280, 180, 8,15, 8,
MS_NONEL40,
selectFunc4,
0x0000, -1,
"î┤ëµé╠â`âFâbâN",
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[6] */
static MMIPACKET d017 = { &fileMItemId[6],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d017d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
115, 184, 255, 203, 8,15, 8,
MS_NONEL40,
0,
0x0000, -1,
NULL,
1, 12, 12,
MS_NONEL40,
0, 0,
0
} ;
/* fileMItemId[7] */
static MMIPACKET d018 = { &fileMItemId[7],
&fileMenuId,
&MJ_MITEML40,
OFFSET(MITEML40),
MS_NONE
} ;
static MITEML40 d018d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_LEFTL40,
115, 204, 280, 223, 8,15, 8,
MS_NONEL40,
selectFunc